﻿@model CloudFranceTriple.Models.ForumSecuritySet
@{
    ViewBag.Title = String.Format("{0} - {1}", ViewBag.LabelForum, CloudFranceTriple.WebRole.Properties.Resources.ForumSecurityDeleteTitle);
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="content-padding">
    <h1>@ViewBag.LabelForum - @CloudFranceTriple.WebRole.Properties.Resources.ForumSecurityDeleteTitle</h1>
    <br />
    <h3>@CloudFranceTriple.WebRole.Properties.Resources.QuestionDelete</h3>
    <section>
        <fieldset>
            <legend>@ViewBag.LabelForum - @CloudFranceTriple.WebRole.Properties.Resources.ForumSecurityDeleteTitle</legend>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.SecurityRoleName
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.webpages_Roles.RoleName)
            </div>
            <br />
            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.SecurityRightLevel
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => CloudFranceTriple.WebRole.Models.RightLevel.GetRightLevelSelectListItems()[Model.RightLevel].Text)
            </div>
        </fieldset>
        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()
            <p>
                <input type="submit" value="@CloudFranceTriple.WebRole.Properties.Resources.ButtonDelete" />
            </p>
        }
        @Html.Partial("_BackToForumSecurityList")
    </section>
</div>
